#!/usr/bin/ksh

for a in fft_alloc_bench.dir ohmms.dir rk4.dir vorticity.dir fft2d.dir fft2d_smp.dir fft2d_essl.dir
do
  sed 's/-lxlf90 -lxlf -lxlomp_ser/ /g' src/benchmark/CMakeFiles/$a/link.txt > $a
  cp $a src/benchmark/CMakeFiles/$a/link.txt
done
